package com.ry.xingyunerp.service;

import com.ry.xingyunerp.entity.Admin;
import com.ry.xingyunerp.entity.vo.UserSearchVo;
import com.ry.xingyunerp.model.RespBean;

import java.util.Map;

public interface SystemService {

    Map<String, Object> getUserInfo();

    Map<String, Object> getMapOfUserInfo(int page, int limit);

    int addUser(Admin admin);

    Map<String, Object> getMapOfUserInfo(int page, int limit, UserSearchVo userSearchVo);

    Map<String, Object> getFunctionInfo();

    RespBean banFunctionById(int id);

    RespBean openFunctionById(int id);
}
